x86/hvm: split I/O completion handling from state model
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 9 Jul 2015 17:04:00 +0000 (19:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 10 Jul 2015 08:18:19 +0000 (10:18 +0200)
commitfd6b3bdd2337c5f93f932ea6868c4f1c8e9eb77b
tree64135057f58b1866889b5e4004e31568e38d6e44
parentf4401bfef2071e25e9cf1d14f0e5ac687eefc9a1
x86/hvm: split I/O completion handling from state model

The state of in-flight I/O and how its completion will be handled are
logically separate and conflating the two makes the code unnecessarily
confusing.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/io.c
xen/arch/x86/hvm/vmx/realmode.c
xen/include/asm-x86/hvm/vcpu.h
xen/include/asm-x86/hvm/vmx/vmx.h